package pers.zc.activiti.service.impl;

import org.springframework.scheduling.annotation.Async;

/**
 * @Annotion:
 * @ClassName: AsyncTestDefaultClass
 * @Author: Lin Fuyuan
 * @Date: 2019/10/12  10:27
 * @Version: 1.0
 */

public class AsyncTestDefaultClass {
    @Async
    public void test(){
        try {
            Thread.sleep(6000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        System.out.println("普通方法异步"+Thread.currentThread().getName());
    }

}
